﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Hospitals/Master/HospitalsMaster.Master"
    AutoEventWireup="true" CodeBehind="UnPayList.aspx.cs" Inherits="HZ.DrugTrade.Web.Hospitals.Collection.UnPayList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="UnPayList.aspx">待结算企业</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table width="100%">
            <tr>
                <td align="right">
                    企业名称：
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtCompanyName" Width="145px"></asp:TextBox>
                </td>
                <td>
                    <asp:Button runat="server" ID="btnQuery" Text="查询" CssClass="btn" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView runat="server" ID="gvwCompanyList" AutoGenerateColumns="false" CssClass="mainlist" EmptyDataText="暂无待结算的企业">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex+1+AspNetPager1.PageSize*(AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
                <ItemStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="企业名称">
                <ItemTemplate>
                    <a href='SelectInvoice.aspx?companyId=<%# Eval("CompanyID") %>'>
                        <asp:Label runat="server" ID="lblCompanyName" Text='<%# Eval("CompanyName") %>'></asp:Label></a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" onpagechanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明：<span>此列表为待结算的企业，可以选择一个企业进入结算。</span></li>
        </ul>
    </div>
</asp:Content>
